const app = getApp()

Component({
  properties: {},
  data: {
    theme: app.globalData.theme,
    background: []
  },
  pageLifetimes: {
    show () {},
    hide () {}
  },
  ready () {
    this.getList()
  },
  methods: {
    async getList () {
      const res = await app.http.get('/api/v1/getFriendsLink')
      if (res.code == 0) {
        this.setData({ background: res.data })
      }
    },
    handleTap () {

    },
    onShareAppMessage: function () {
  
    }
  }
})
